﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UCAddress.ascx.cs" Inherits="CivilRegistry.UserControls.UCAddress" %>
<div class="form-fields clearfix">
    <div class="fl txtrgt divsize1">
        <asp:Label ID="lblAddressEdit" runat="server" Text="Address:"></asp:Label>
    </div>
    <div class="fr txtlft divsize2">
        <asp:TextBox ID="txtAddress" TextMode="MultiLine" Rows="5" runat="server"></asp:TextBox>
    </div>
</div>
<div class="form-fields clearfix">
    <div class="fl txtrgt divsize1">
        <asp:Label ID="lblPINEdit" runat="server" Text="PIN:"></asp:Label>
    </div>
    <div class="fr txtlft divsize2">
        <asp:TextBox ID="txtPIN" runat="server"></asp:TextBox><asp:Label ID="lblPinValidation"
            runat="server" CssClass="redText" Style="visibility: hidden;" Text="Please enter the Pin number."></asp:Label>
    </div>
</div>
<div class="form-fields clearfix">
    <div class="fl txtrgt divsize1">
        <asp:Label ID="lblCityEdit" runat="server" Text="City:"></asp:Label>
    </div>
    <div class="fr txtlft divsize2">
        <asp:TextBox ID="txtCity" runat="server"></asp:TextBox><asp:Label ID="lblCityValidation"
            runat="server" CssClass="redText" Style="visibility: hidden;" Text="Please enter the City."></asp:Label>
    </div>
</div>
<div class="form-fields clearfix">
    <div class="fl txtrgt divsize1">
        <asp:Label ID="lblStateNameEdit" runat="server" Text="State:"></asp:Label>
    </div>
    <div class="fr txtlft divsize2">
        <asp:DropDownList ID="ddlStateName" runat="server" DataTextField="StateName" DataValueField="StateId"
            AppendDataBoundItems="true" AutoPostBack="true" OnSelectedIndexChanged="ddlStateName_SelectedIndexChanged">
            <asp:ListItem Text="--Select--" Value="0"></asp:ListItem>
        </asp:DropDownList>
        <asp:Label ID="lblStateValidation" runat="server" CssClass="redText" Style="visibility: hidden;"
            Text="Please select a state name."></asp:Label>
    </div>
</div>
<div class="form-fields clearfix">
    <div class="fl txtrgt divsize1">
        <asp:Label ID="lblDistrictNameEdit" runat="server" Text="District:"></asp:Label>
    </div>
    <div class="fr txtlft divsize2">
        <asp:DropDownList ID="ddlDistrictName" DataTextField="DistrictName" DataValueField="DistrictId"
            AppendDataBoundItems="true" runat="server">
            <asp:ListItem Text="--Select--" Value="0"></asp:ListItem>
        </asp:DropDownList>
        <asp:Label ID="lblDistrictValidation" runat="server" CssClass="redText" Style="visibility: hidden;"
            Text="Please select a district name."></asp:Label>
    </div>
</div>
<div>
    Address Proofs:
    <asp:Label ID="lblValidation" runat="server" CssClass="redText" Style="visibility: hidden;"
        Text=" Please upload the address proof."></asp:Label>
    <div class="form-fields clearfix">
        <div class="fl txtrgt divsize1">
            <asp:Label ID="lblElectricitybill" runat="server" Text="Electrical bill Xerox:"></asp:Label>
        </div>
        <div class="fr txtlft divsize2">
            <asp:FileUpload ID="FlupldElectricitybill" ToolTip="upload xerox copy of electricity bill or telephone bill"
                runat="server" />
        </div>
    </div>
</div>
